package com.itheima.service.impl;

import com.itheima.dao.AccountDao;
import com.itheima.service.AccountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

/**
 * @author cp
 * @className AccountServiceImpl
 * @description TODO
 * @create 2020/12/5 20:00
 **/

@Service("accountService")
public class AccountServiceImpl implements AccountService {
    @Autowired
    //@Qualifier("AccountDaoImpl2")
    private AccountDao accountDao;
    public void save() {
        accountDao.save();
    }
}
